//
//  picTableViewCell.m
//  唧歪
//
//  Created by MWJ on 15/7/22.
//  Copyright (c) 2015年 MWJ. All rights reserved.
//

#import "picTableViewCell.h"
#import "picbig.h"

@implementation picTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _photoimage1.userInteractionEnabled=YES;
    _photoimage2.userInteractionEnabled=YES;
    _photoimage3.userInteractionEnabled=YES;
    
    UITapGestureRecognizer *click1=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onclick1:)];
    [_photoimage1 addGestureRecognizer:click1];
    UITapGestureRecognizer *click2=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onclick2:)];
    [_photoimage2 addGestureRecognizer:click2];
    UITapGestureRecognizer *click3=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onclick3:)];
    [_photoimage3 addGestureRecognizer:click3];
}
-(void)onclick1:(id)sender{
    [picbig showImage:_photoimage1];
    
}

-(void)onclick2:(id)sender{
    
    [picbig showImage:_photoimage2];
    
}
-(void)onclick3:(id)sender{
    
    [picbig showImage:_photoimage3];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
